package Enlaces;
import com.ancientprogramming.fixedformat4j.annotation.Record;
import com.ancientprogramming.fixedformat4j.annotation.Field;
import com.ancientprogramming.fixedformat4j.annotation.Align;
import com.ancientprogramming.fixedformat4j.annotation.FixedFormatPattern;

import java.util.Date;

/**
 * A record containing some simple datatypes to show basic parsing and formatting.
 *
 * @author Jacob von Eyben - http://www.ancientprogramming.com
 * @since 1.2.0
 */
//START-SNIPPET: basicrecord
@Record
public class BancoScotiabank {

  @Field(offset = 1, length = 15, paddingChar = ' ')
  public String getStrEspacios() {
    return this.strEspacios;    
  }      
  
  /*************************************************************/
  

  @Field(offset = 16, length = 30, align = Align.LEFT, paddingChar = ' ')  
  public String getStrNombreTrabajador() {
    return this.strNombreTrabajador;
  }
  
  public void setStrNombreTrabajador( String strNombreTrabajador ) {
    this.strNombreTrabajador = strNombreTrabajador;    
  }
  
  
  /*************************************************************/
  
  @Field(offset = 46, length = 4, align = Align.RIGHT, paddingChar = '0')  
  public String getStrNroCorr() {
    return this.strNroCorr;
  }
  
  public void setStrNroCorr( String strNroCorr ) {
    this.strNroCorr = strNroCorr;    
  }
  
  /*************************************************************/


  @Field(offset = 50, length = 26, paddingChar = ' ')
  public String getStrEspacios2() {
    return this.strEspacios;
  }
  
  /*************************************************************/
  

  @Field(offset = 76, length = 8)
  @FixedFormatPattern("yyyyMMdd")
  public Date getDateFecha() {
    return this.dateFecha;
  }

  public void setDateFecha(Date dateFecha) {
    this.dateFecha = dateFecha;   
  }
  
  /*************************************************************/
  
  @Field(offset = 84, length = 22, paddingChar = ' ')
  public String getStrEspacios3() {
    return this.strEspacios;
  }
  
  /*************************************************************/
  
  
  @Field(offset = 106, length = 11, align = Align.RIGHT, paddingChar = '0')
  public String getStrImporte() {
    return this.strImporte;
  }
    
  public void setStrImporte( String strImporte ) {
    this.strImporte = strImporte;
  }
  
  /*************************************************************/
  
  @Field(offset = 117, length = 6, paddingChar = ' ')
  public String getStrEspacios4() {
    return this.strEspacios;
  }
  
  
  /*************************************************************/
  
  @Field(offset = 123, length = 22, align = Align.LEFT, paddingChar = ' ')
  public String getStrDescripcionPago() {
    return this.strDescripcionPago;
  }
  
  public void setStrDescripcionPago( String strDescripcionPago ){
  	this.strDescripcionPago = strDescripcionPago;  	
  }
  
  
  /*************************************************************/
  
  @Field(offset = 145, length = 11, align = Align.RIGHT, paddingChar = '3')
  public String getStrNroCuentaAbono() {
    return this.strNroCuentaAbono;
  }
  
  public void setStrNroCuentaAbono( String strNroCuentaAbono ){
  	this.strNroCuentaAbono = strNroCuentaAbono;  	
  }
  
  
  /*************************************************************/
  
  
  @Field(offset = 156, length = 25, paddingChar = ' ')
  public String getStrEspacios5() {
    return this.strEspacios;
  }
  
  
  /*************************************************************/
  
  @Field(offset = 181, length = 4, align = Align.RIGHT, paddingChar = '0')  
  public String getStrNroCorr2() {
    return this.strNroCorr;
  } 
  
  
  /*************************************************************/
  
  private String strEspacios = "";
  private String strNombreTrabajador;
  private String strNroCorr;
  private String strMonto;
  private Date dateFecha = new Date() ;
  private String strImporte;
  private String strDescripcionPago;
  private String strNroCuentaAbono;  
  
}

